package com.yl.mode2;


import io.swagger.annotations.ApiParam;

public class TActOrder2 {

  private long orderId;
  private String mOrderId;
  private long hxid;
  private long actId;
  private long clientId;
  private double price;
  private long number;
  private String unit;
  private String spec;
  private double amount;
  private java.sql.Timestamp createTime;
  private long payType;
  private java.sql.Timestamp hxTime;
  private String longitude;
  private String latitude;
  private String school;
  private String grade;
  private String className;
  private String customerName;
  private String mobile;
  private String posNo;
  private String termNo;
  private String unionOrderNo;
  private String orStatus;
  private String bankCardNo;
  private String billDesc;
  private java.sql.Timestamp payTime;
  private String openId;
  private String unionId;
  private long enterpriseId;
  private String region;
  private String address;
  private String postCode;
  private String takeTicketDate;
  private String couponAmount;

  public TActOrder2(String customerName, String mobile, String actId, String number, String payType,
                    String longitude, String latitude, String school, String grade, String className,
                    String openId, String unionId, String region, String address, String postCode,
                    String takeTicketDate,String couponAmount){
    if(actId != null && !actId.equals("0"))
      this.actId = Long.parseLong(actId);
    this.customerName = customerName;
    this.mobile = mobile;
    if(number != null && !number.equals(""))
      this.number = Long.parseLong(number);
    if(payType != null && !payType.equals(""))
      this.payType = Long.parseLong(payType);
    this.longitude = longitude;
    this.latitude = latitude;
    if(school != null && !school.equals("")) {
      this.school = school;
      this.grade = grade;
      this.className = className;
    }
    if(openId != null && !openId.equals("")) {
      this.openId = openId;
    }
    if(unionId != null && !unionId.equals("")) {
      this.unionId = unionId;
    }
    if(region != null && !region.equals("")) {
      this.region = region;
    }

    if(address != null && !address.equals("")) {
      this.address = address;
    }

    if(postCode != null && !postCode.equals("")) {
      this.postCode = postCode;
    }
    if(takeTicketDate != null && !takeTicketDate.equals("")) {
      this.takeTicketDate = takeTicketDate;
    }

    if(couponAmount != null && !couponAmount.equals("")) {
      this.couponAmount = couponAmount;
    }

  }

  public long getOrderId() {
    return orderId;
  }

  public void setOrderId(long orderId) {
    this.orderId = orderId;
  }


  public String getMOrderId() {
    return mOrderId;
  }

  public void setMOrderId(String mOrderId) {
    this.mOrderId = mOrderId;
  }


  public long getHxid() {
    return hxid;
  }

  public void setHxid(long hxid) {
    this.hxid = hxid;
  }


  public long getActId() {
    return actId;
  }

  public void setActId(long actId) {
    this.actId = actId;
  }


  public long getClientId() {
    return clientId;
  }

  public void setClientId(long clientId) {
    this.clientId = clientId;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public long getNumber() {
    return number;
  }

  public void setNumber(long number) {
    this.number = number;
  }


  public String getUnit() {
    return unit;
  }

  public void setUnit(String unit) {
    this.unit = unit;
  }


  public String getSpec() {
    return spec;
  }

  public void setSpec(String spec) {
    this.spec = spec;
  }


  public double getAmount() {
    return amount;
  }

  public void setAmount(double amount) {
    this.amount = amount;
  }


  public java.sql.Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Timestamp createTime) {
    this.createTime = createTime;
  }


  public long getPayType() {
    return payType;
  }

  public void setPayType(long payType) {
    this.payType = payType;
  }


  public java.sql.Timestamp getHxTime() {
    return hxTime;
  }

  public void setHxTime(java.sql.Timestamp hxTime) {
    this.hxTime = hxTime;
  }


  public String getLongitude() {
    return longitude;
  }

  public void setLongitude(String longitude) {
    this.longitude = longitude;
  }


  public String getLatitude() {
    return latitude;
  }

  public void setLatitude(String latitude) {
    this.latitude = latitude;
  }


  public String getSchool() {
    return school;
  }

  public void setSchool(String school) {
    this.school = school;
  }


  public String getGrade() {
    return grade;
  }

  public void setGrade(String grade) {
    this.grade = grade;
  }


  public String getClassName() {
    return className;
  }

  public void setClassName(String className) {
    this.className = className;
  }


  public String getCustomerName() {
    return customerName;
  }

  public void setCustomerName(String customerName) {
    this.customerName = customerName;
  }


  public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }


  public String getPosNo() {
    return posNo;
  }

  public void setPosNo(String posNo) {
    this.posNo = posNo;
  }


  public String getTermNo() {
    return termNo;
  }

  public void setTermNo(String termNo) {
    this.termNo = termNo;
  }


  public String getUnionOrderNo() {
    return unionOrderNo;
  }

  public void setUnionOrderNo(String unionOrderNo) {
    this.unionOrderNo = unionOrderNo;
  }


  public String getOrStatus() {
    return orStatus;
  }

  public void setOrStatus(String orStatus) {
    this.orStatus = orStatus;
  }


  public String getBankCardNo() {
    return bankCardNo;
  }

  public void setBankCardNo(String bankCardNo) {
    this.bankCardNo = bankCardNo;
  }


  public String getBillDesc() {
    return billDesc;
  }

  public void setBillDesc(String billDesc) {
    this.billDesc = billDesc;
  }


  public java.sql.Timestamp getPayTime() {
    return payTime;
  }

  public void setPayTime(java.sql.Timestamp payTime) {
    this.payTime = payTime;
  }


  public String getOpenId() {
    return openId;
  }

  public void setOpenId(String openId) {
    this.openId = openId;
  }


  public String getUnionId() {
    return unionId;
  }

  public void setUnionId(String unionId) {
    this.unionId = unionId;
  }


  public long getEnterpriseId() {
    return enterpriseId;
  }

  public void setEnterpriseId(long enterpriseId) {
    this.enterpriseId = enterpriseId;
  }


  public String getRegion() {
    return region;
  }

  public void setRegion(String region) {
    this.region = region;
  }


  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }


  public String getPostCode() {
    return postCode;
  }

  public void setPostCode(String postCode) {
    this.postCode = postCode;
  }

  public String getTakeTicketDate() {
    return takeTicketDate;
  }

  public void setTakeTicketDate(String takeTicketDate) {
    this.takeTicketDate = takeTicketDate;
  }

  public String getCouponAmount() {
    return couponAmount;
  }

  public void setCouponAmount(String couponAmount) {
    this.couponAmount = couponAmount;
  }
}
